//
//  HSOrderModel.h
//  hsdyOrderSystem
//
//  Created by XunFengKJ on 2017/11/11.
//  Copyright © 2017年 赖国锋. All rights reserved.
//订单最外层

#import <Foundation/Foundation.h>
#import "HSOrderDetailModel.h"

@interface HSOrderModel : NSObject

@property(nonatomic,copy)NSString  * outTradeNo;   //订单id
@property(nonatomic,copy)NSString  * serial;   //订单号
@property(nonatomic,copy)NSString  * tableNumber;  //桌号
@property(nonatomic,copy)NSString  * totalPay;     //合计
@property(nonatomic,copy)NSString  * createTime;   //创建时间
@property(nonatomic,copy)NSString  * reservationTime;   //到店时间
@property(nonatomic,copy)NSString  * wxUserPhone;  //用户
@property(nonatomic,copy)NSString  * extraMessage; //备注
@property(nonatomic,strong)NSArray * foodsList;    //菜单数组
@property(nonatomic,assign)BOOL isHaveReadyUpBtn;  //是否有已上菜按钮

@property(nonatomic,assign)BOOL isShowComingtime;  //是否是预约单，用于判断是显示到店时间还是下单时间

- (instancetype)initWithDictionary:(NSDictionary *)dict;
+ (instancetype)orderModelWithDictionary:(NSDictionary *)dict;
+ (NSMutableArray *)orderWithArray:(NSArray *)array;

@end
